var oldMethod1 = Forguncy.UpdateTableHelper.getDetailTableData;
Forguncy.UpdateTableHelper.getDetailTableData = function () {
    var oldMethod = Forguncy.ListDataModel.prototype.isDirty;
    try {
        Forguncy.ListDataModel.prototype.isDirty = function (a, b) {
            if (a >= 0 && b >= 0) {
                var list = Forguncy.ListviewBase.getListviewByCalcSheetName(this.name);
                var c = list.listviewData.metadata.Columns.filter(c => c.Index === b);
                if (list && list._sheet && c.length === 1 && c[0].BindingColumnDataType === 6) {
                    return true;
                }
            }
            return oldMethod.call(this, a, b);
        };
        return oldMethod1.call(this, ...arguments);
    }
    finally {
        Forguncy.ListDataModel.prototype.isDirty = oldMethod;
    }
}
